const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})

module.exports={
  publicPath: '/',  
  outputDir: 'dist',
  assetsDir: 'static',
  productionSourceMap: false,
  lintOnSave: false,
  devServer:{
    host:"0.0.0.0",
    port: 9292,
    hot: true, // 开启热更新
    https: false, // 是否开启https模式
    proxy: {
      '/api': {
        // target: 'http://113.31.109.24:9291',
        target: 'http://localhost:9291',
        pathRewrite: {'^/api': ''},
        ws: true,
        changeOrigin: true
      }
    }
  },
}

